import ProxyInterface from '../proxy-interface';
import { UserPageModel } from '../model/user';

class UserPageProxy implements ProxyInterface<UserPageModel> {
  private userPage = new UserPageModel()

  constructor (responseData) {
    let data = responseData
    Object.assign<UserPageModel, any>(this.userPage, data)
  }

  getModel (): UserPageModel {
    return this.userPage
  }
}

export {
  UserPageProxy
}
